package com.example.fuzhuang.req;

import java.util.Date;

public class ProductReq extends PageReq{
    private Long id;

    private Long code;

    private Long firstType;

    private Long secondType;

    private String styleCode;

    private String name;

    private String layout;

    private String sex;

    private String colorCode;

    private String color;

    private String productSize;

    private String year;

    private String season;

    private Date cityDate;

    private String weight;

    private Integer price;

    private Integer buyingPrice;

    private Integer inventory;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public Long getFirstType() {
        return firstType;
    }

    public void setFirstType(Long firstType) {
        this.firstType = firstType;
    }

    public Long getSecondType() {
        return secondType;
    }

    public void setSecondType(Long secondType) {
        this.secondType = secondType;
    }

    public String getStyleCode() {
        return styleCode;
    }

    public void setStyleCode(String styleCode) {
        this.styleCode = styleCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLayout() {
        return layout;
    }

    public void setLayout(String layout) {
        this.layout = layout;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getColorCode() {
        return colorCode;
    }

    public void setColorCode(String colorCode) {
        this.colorCode = colorCode;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getProductSize() {
        return productSize;
    }

    public void setProductSize(String productSize) {
        this.productSize = productSize;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getSeason() {
        return season;
    }

    public void setSeason(String season) {
        this.season = season;
    }

    public Date getCityDate() {
        return cityDate;
    }

    public void setCityDate(Date cityDate) {
        this.cityDate = cityDate;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getBuyingPrice() {
        return buyingPrice;
    }

    public void setBuyingPrice(Integer buyingPrice) {
        this.buyingPrice = buyingPrice;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", code=").append(code);
        sb.append(", firstType=").append(firstType);
        sb.append(", secondType=").append(secondType);
        sb.append(", styleCode=").append(styleCode);
        sb.append(", name=").append(name);
        sb.append(", layout=").append(layout);
        sb.append(", sex=").append(sex);
        sb.append(", colorCode=").append(colorCode);
        sb.append(", color=").append(color);
        sb.append(", productSize=").append(productSize);
        sb.append(", year=").append(year);
        sb.append(", season=").append(season);
        sb.append(", cityDate=").append(cityDate);
        sb.append(", weight=").append(weight);
        sb.append(", price=").append(price);
        sb.append(", buyingPrice=").append(buyingPrice);
        sb.append(", inventory=").append(inventory);
        sb.append("]");
        return sb.toString();
    }
}